import React from 'react';

class NotFound extends React.Component {
    constructor(props) {
        super(props);
        this.state = {
            classType: '',
            contentType: '',
        };
    }
    componentDidMount() {
        //这里获取从FirstPageComponent传递过来的参数: id    this.props.user
        this.setState({

        });
    }
    _pressButton() {
        const { navigator } = this.props;
        if(navigator) {
            //很熟悉吧，入栈出栈~ 把当前的页面pop掉，这里就返回到了上一个页面:FirstPageComponent了
            navigator.pop();
        }
    }
    render() {
        return (
           <div className="uwb-content">
               <div className="uwb-imitation-banner">
                   NotFound
               </div>
           </div>
        )}
}
//导出组件
module.exports = NotFound;